#!/bin/bash 
echo -e "This script will create 3 files"
read -p "input your name" fileuser

date1=$(date --date='2 days ago' +%Y%m%d)
date2=$(date --date='1 days ago' +%Y%m%d)
date3=$(date +%Y%m%d)

file1=${fileuser}${date1}
file2=${fileuser}${date2}
file3=${fileuser}${date3}

touch "${file1}"
touch "${file2}"
touch "${file3}"